//functions.h
namespace functions
{
	class calc
	{
	public:
		//optional: initialise and deinitialises calc()
		calc(void);
		~calc(void);

		// Returns a + b
        static __declspec(dllexport) double Add(double a, double b);

        // Returns a - b
        static __declspec(dllexport) double Subtract(double a, double b);

        // Returns a * b
        static __declspec(dllexport) double Multiply(double a, double b);

        // Returns a / b
        // Throws DivideByZeroException if b is 0
        static __declspec(dllexport) double Divide(double a, double b);
	};

}
